
<div class="am-u-sm-4 am-u-sm-offset-1">
    <%if(session.user!=null){%>

    <br><br><br>
    <ul class="am-nav">
        <li><a href="${base}/user/myInfo"><span class="am-icon-child"></span> 个人信息</a></li>
        <li><a href="${base}/user/checkBook?user=${session.user.id}"><span class="am-icon-comment"></span> 我发布的</a></li>
        <li><a href="${base}/user/checkMsg"><span class="am-icon-envelope"></span> 我的消息</a></li>
        <li><a href="${base}/addBook"><span class="am-icon-question"> </span> 发布新书</a></li>
    </ul>

    <%}else{%>

    <br><br><br>
    <ul class="am-nav">
        <li><a href="${base}/user/info?user=${user.id}"><span class="am-icon-home">  </span> 信息</a></li>
        <li><a href="${base}/user/checkBook?user=${user.id}"><span class="am-icon-comment"></span> 他发布的</a></li>
    </ul>

    <%}%>
</div>